package p270jp.pxv.android.commonObjects.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import java.util.List;
import p014ae.C0172v6;
import p270jp.pxv.android.model.pixiv_sketch.LiveWebSocketMessage;
import p325m0.MutabilityOwnership;
import p326m1.C4771r;
import p389ob.SerializedName;

/* compiled from: NotificationSettingType.kt */
/* renamed from: jp.pxv.android.commonObjects.model.NotificationSettingType */
/* loaded from: classes2.dex */
public final class NotificationSettingType {
    @SerializedName("available_methods")
    private final List<NotificationSettingMethod> availableMethods;
    @SerializedName(LiveWebSocketMessage.TYPE_CAPTION)
    private final String caption;
    @SerializedName(AppMeasurementSdk.ConditionalUserProperty.NAME)
    private final String name;

    public NotificationSettingType(String str, String str2, List<NotificationSettingMethod> list) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        MutabilityOwnership.m3745m(str2, LiveWebSocketMessage.TYPE_CAPTION);
        MutabilityOwnership.m3745m(list, "availableMethods");
        this.name = str;
        this.caption = str2;
        this.availableMethods = list;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ NotificationSettingType copy$default(NotificationSettingType notificationSettingType, String str, String str2, List list, int i, Object obj) {
        if ((i & 1) != 0) {
            str = notificationSettingType.name;
        }
        if ((i & 2) != 0) {
            str2 = notificationSettingType.caption;
        }
        if ((i & 4) != 0) {
            list = notificationSettingType.availableMethods;
        }
        return notificationSettingType.copy(str, str2, list);
    }

    public final String component1() {
        return this.name;
    }

    public final String component2() {
        return this.caption;
    }

    public final List<NotificationSettingMethod> component3() {
        return this.availableMethods;
    }

    public final NotificationSettingType copy(String str, String str2, List<NotificationSettingMethod> list) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        MutabilityOwnership.m3745m(str2, LiveWebSocketMessage.TYPE_CAPTION);
        MutabilityOwnership.m3745m(list, "availableMethods");
        return new NotificationSettingType(str, str2, list);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof NotificationSettingType)) {
            return false;
        }
        NotificationSettingType notificationSettingType = (NotificationSettingType) obj;
        return MutabilityOwnership.m3749h(this.name, notificationSettingType.name) && MutabilityOwnership.m3749h(this.caption, notificationSettingType.caption) && MutabilityOwnership.m3749h(this.availableMethods, notificationSettingType.availableMethods);
    }

    public final List<NotificationSettingMethod> getAvailableMethods() {
        return this.availableMethods;
    }

    public final String getCaption() {
        return this.caption;
    }

    public final String getName() {
        return this.name;
    }

    public int hashCode() {
        return this.availableMethods.hashCode() + C0172v6.m12134a(this.caption, this.name.hashCode() * 31, 31);
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("NotificationSettingType(name=");
        c.append(this.name);
        c.append(", caption=");
        c.append(this.caption);
        c.append(", availableMethods=");
        return C4771r.m3719c(c, this.availableMethods, ')');
    }
}
